On Specifying Timeouts
نویسنده
چکیده
This paper raises the question on how to specify timeouts in process algebra, and finds that the basic formalisms fall short in this task. Consider the following protocol for a mail server: Set a timer for an unspecified but finite amount of time, and try to send a message again and again until it either succeeds or the timer goes off. In the latter case return an error message. Optionally, someone may deactivate the timer before it goes off, in which case the system may run forever. My question is how to model this simple protocol by means of process algebra. Even though languages like CCS, CSP and ACP and their many variants have been around for twenty five years, it is still particularly tricky to do so. As this problem didn’t specify any real-time constraints it appears less natural to use a real-time process algebra. The specification should keep it completely open how long each activity lasts. In particular, there is no upper bound on the number of trials that are made before the timer goes off. Still we know that within a finite amount of time either the message is send successfully, or an error message is returned, unless the timer is deactivated. When abstracting, in part, from the timer, the process can be specified as set · μX.(fail · X + succeed + timeout · error) and a specification of the entire protocol (freely mixing ACCSP) could be set · ( μX.(fail · X + succeed + timeout · error)‖ timeout τ · timeout + deactivate ) . However, this specification leaves open the option that the process keeps failing forever: the standard operational semantics of ACCSP generates a transition system that features a path with infinitely many fail-actions and no deactivate (see Figure 1). One solution is to invoke Koomen’s Fair Abstraction Rule (KFAR) [1] to prove, by abstraction from fail, that either succeed or timeout will happen eventually. However, ∗Partly based on joint work with Frits Vaandrager.
منابع مشابه
Coaches Use of Team Timeouts in Handball: A Mixed Method Analysis
Coaches play a multifunctional key role in high-performance team sports. One of the coaches’ responsibilities, in some sports, is to use team timeouts effectively. The sport science literature has however only given limited attention to the use of timeouts – this is especially the case in handball. This is somewhat surprising since timeouts can be used as a strategic intervention in the dynamic...
متن کاملDetecting faults in TFTP implementations using Finite State Machines with timeouts
In this paper, we consider a test derivation strategy for testing protocol implementations based on Finite State Machines with timeouts. The strategy is applied for testing TFTP implementations. Keywords-Finete State Machine (FSM); FSM with timeouts (timed FSM); transition tour
متن کاملResponding to Spurious Timeouts in TCP
Delays on Internet paths, especially including wireless links, can be highly variable. On the other hand, a current trend for modern TCPs is to deploy a fine-grain retransmission timer with a lower minimum timeout value than 1 s suggested by RFC2988. Spurious TCP timeouts cause unnecessary retransmissions and congestion control back-off. The Eifel algorithm detects spurious TCP timeouts and rec...
متن کاملAn algorithm to detect TCP spurious timeouts and its application to operational UMTS/GPRS networks
This paper proposes an algorithm to identify TCP spurious retransmission timeouts by post processing of packet traces monitored in operational networks. The operational principles of the algorithm and the assumptions behind its design are explained in detail as well as the situations in which the algorithm is prone to inaccuracies. By extensive measurements in a lab testbed using realistic roun...
متن کاملWeb Timeouts and Their Implications
Timeouts play a fundamental role in network protocols, controlling numerous aspects of host behavior at different layers of the protocol stack. Previous work has documented a class of Denial of Service (DoS) attacks that leverage timeouts to force a host to preserve state with a bare minimum level of interactivity with the attacker. This paper considers the vulnerability of operational Web serv...
متن کاملSpecifying and Proving Timing Properties with TIOA Tools
This paper introduces the TIOA specification language for timed systems, for example, communication protocols with timeouts or timing-sensitive distributed algorithms. TIOA specifications denote Timed Input/Output Automata, which are composable state machines that evolve using both discrete transitions and continuous trajectories. This paper also outlines a scheme for translating TIOA specifica...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 162 شماره
صفحات -
تاریخ انتشار 2006